package edu.tjut.tjutcommunity.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Postlogs {
    @TableId(value = "lid", type = IdType.AUTO)
    private Integer lid;

    private Integer uid;

    private Integer pid;

    private Integer preferDegree;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}
